#include<stdio.h>
#include<stdlib.h>
#include<unistd.h>

int main(){
    printf("BEGIN\n");
    char* filename = "/usr/bin/ls";
    char* argv[] = {"ls","-l",NULL};
    char* envp[] = {NULL};
    printf("FINISH\n");
    int ret = execve(filename,argv,envp);
    if(ret == -1){
        perror("execev fail!");
        return 1;
    }
    return 0;
}